package com.new_wear.project.system.repair.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 报修信息对象 repair
 * 
 * @author new_wear
 * @date 2019-12-24
 */
public class Repair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 上报人 */
    @Excel(name = "上报人")
    private String repairname;

    /** 故障事项 */
    @Excel(name = "故障事项")
    private String repairmatter;

    /** 故障地点 */
    @Excel(name = "故障地点")
    private String repairplace;

    /** 报障时间 */
    @Excel(name = "报障时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repairdata;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String repairdescribe;

    /** 故障程度 */
    @Excel(name = "故障程度")
    private String repairdegree;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private String status;

    /** 预留1 */
    @Excel(name = "预留1")
    private String arepair;

    /** 预留2 */
    @Excel(name = "预留2")
    private String brepair;

    /** 预留3 */
    @Excel(name = "预留3")
    private String crepair;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRepairname(String repairname) 
    {
        this.repairname = repairname;
    }

    public String getRepairname() 
    {
        return repairname;
    }
    public void setRepairmatter(String repairmatter) 
    {
        this.repairmatter = repairmatter;
    }

    public String getRepairmatter() 
    {
        return repairmatter;
    }
    public void setRepairplace(String repairplace) 
    {
        this.repairplace = repairplace;
    }

    public String getRepairplace() 
    {
        return repairplace;
    }
    public void setRepairdata(Date repairdata) 
    {
        this.repairdata = repairdata;
    }

    public Date getRepairdata() 
    {
        return repairdata;
    }
    public void setRepairdescribe(String repairdescribe) 
    {
        this.repairdescribe = repairdescribe;
    }

    public String getRepairdescribe() 
    {
        return repairdescribe;
    }
    public void setRepairdegree(String repairdegree) 
    {
        this.repairdegree = repairdegree;
    }

    public String getRepairdegree() 
    {
        return repairdegree;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setArepair(String arepair) 
    {
        this.arepair = arepair;
    }

    public String getArepair() 
    {
        return arepair;
    }
    public void setBrepair(String brepair) 
    {
        this.brepair = brepair;
    }

    public String getBrepair() 
    {
        return brepair;
    }
    public void setCrepair(String crepair) 
    {
        this.crepair = crepair;
    }

    public String getCrepair() 
    {
        return crepair;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairname", getRepairname())
            .append("repairmatter", getRepairmatter())
            .append("repairplace", getRepairplace())
            .append("repairdata", getRepairdata())
            .append("repairdescribe", getRepairdescribe())
            .append("repairdegree", getRepairdegree())
            .append("status", getStatus())
            .append("arepair", getArepair())
            .append("brepair", getBrepair())
            .append("crepair", getCrepair())
            .toString();
    }
}
